#!/bin/bash

li=`ls | grep ".*\.md"`

j=0

for i in $li
do
    mv $i ${j}_${i}
    j=`echo $j + 1 | bc`
done
